package org.sunsys.qa.web.init;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;

import org.sunsys.qa.datasource.DataSourceProvider;

@WebServlet(name="InitServlet", loadOnStartup=1, urlPatterns="/InitServlet")
public class InitServlet extends HttpServlet {

	public InitServlet() {
	}

	@Override
	public void init() throws ServletException {
		super.init();

		/* create DataSourceFactoryMethod, which intern gets instance of DataSource from jndi */
		DataSourceProvider dataSourceFactoryMethod = DataSourceProvider.getInstance(); 	
	}
	
}
